package com.wk.item.vo;

import com.wk.pms.entity.Brand;
import com.wk.pms.entity.Category;
import com.wk.pms.entity.SkuImages;
import com.wk.pms.entity.SkuSaleAttrValue;
import com.wk.pms.vo.ItemGroupVO;
import com.wk.sms.vo.SaleVO;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品详情
 */
@Data
public class ItemVO {

    private Long skuId;

    private Category category;      //商品分类

    private Brand brand;            //商品品牌

    private Long spuId;

    private String spuName;

    private String skuTitle;

    private String skuSubtitle;

    private BigDecimal price;

    private BigDecimal weight;

    private List<SkuImages> pics;     //sku图片列表

    private List<SaleVO> sales;          //营销信息

    private Boolean store;                  //是否有货

    private List<SkuSaleAttrValue> saleAttrs;     //销售属性

    private List<String> images;            //spu的海报

    private List<ItemGroupVO> groups;       //规格参数组及组下的参数

}
